package cn.yunhe.util;

public class TotalPagesTool {
	public static int getTotalPages(int pageCount,int totalRecord){
		int totalPages=0;
		totalPages=(totalRecord%pageCount==0?totalRecord/pageCount:totalRecord/pageCount+1);
		return totalPages;
	}
}
